package com.showsu.editor.entity.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: William
 * @Description:
 * @Date: Created in 11:16 上午 2023/6/20
 * @Modified By:
 */
@Data
@ApiModel(value = "xhs查作品返回数据对象")
public class XhsAwemeV2Resp implements Serializable {

    @ApiModelProperty("作品id")
    private String awemeId;

    @ApiModelProperty(value = "xhs作品xSecToken")
    private String xSecToken;

    @ApiModelProperty("封面图")
    private String cover;

    @ApiModelProperty("作品标题")
    private String title;

    @ApiModelProperty("作品文字内容")
    private String textContent;

    @ApiModelProperty("点赞量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer liked;

    @ApiModelProperty("收藏量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer collected;

    @ApiModelProperty("评论量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer comments;

    @ApiModelProperty("分享量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer shared;

    @ApiModelProperty("达人昵称")
    private String nickname;

    @ApiModelProperty("达人头像")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String avatar;

    @ApiModelProperty("发布时间")
    private Date publishTime;

    @ApiModelProperty("最后更新时间")
    private Date lastUpdateTime;

    @ApiModelProperty("数据体")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Object data;

    @ApiModelProperty("追踪id")
    private String traceId;

    @ApiModelProperty("查询时间")
    private Date queryTime;
}
